import request from '@/utils/request'

export function scoreList(params) {
  return request({
    url: '/stu/scoreList',
    method: 'get',
    params
  })
}

export function insertScore(data) {
  return request({
    url: '/stu/insertScore',
    method: 'post',
    data
  })
}

export function updateScore(data) {
  return request({
    url: '/stu/updateScore',
    method: 'post',
    data:data
  })
}
export function deleteScore(data) {
  return request({
    url: '/stu/deleteScore',
    method: 'post',
    data:data
  })
}


export function isNew(params) {
  return request({
    url: '/stu/isNew',
    method: 'get',
    params
  })
}